package com.lzh.healthCode.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzh.healthCode.business.entity.CjInfoBean;
import com.lzh.healthCode.business.entity.UpdParams;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CjInfoMapper extends BaseMapper<CjInfoBean> {

    List<CjInfoBean> getSelectAll(@Param("beforonehourtime") String beforonehourtime, @Param("nowtime") String nowtime);

    List<CjInfoBean> getSelectSupp(@Param("SAMPLENO") String sampleno);

    List<CjInfoBean> getSelectTime(UpdParams updParams);

    List<CjInfoBean> getSelecError();

    int updateErrorCount(UpdParams updParams);


    int update(String SAMPLENO,String BJCRZJHM ,String BJCRSJH);
}
